/*
 * General
 */

*
{
	border: 0;
	margin: 0;
	padding: 0;
}

body
{
    padding: 5px;
}

h1
{
    font-size: 16px;
    padding: 12px 0 10px 0;
}

/*
 * Thumbnails column
 */

#thumbs
{
    width: 200px;
    max-height: 700px;
    position: relative;
    float: left;
    overflow: auto;
    padding: 4px;
	border: 2px solid gray;
	margin-top: 6px;
}

.thumb
{
    width: 180px;
    z-index: 2;
    padding: 1px;
    border: 1px solid gray;
    margin: 5px auto;
	overflow: hidden;
}

#mockups-tools
{
    width: 180px;
    z-index: 2;
    padding: 2px 0;
	margin: 5px auto;
}

#mockups-tools button
{
	margin-left: -2px;
}


.thumb.selected
{
    border: 1px dashed black;
}

.thumb img
{
    width: 180px;
    z-index: -5;
	margin: 0 auto;
}

.thumb-hover
{
    background-color: #888888;
    filter: alpha(opacity=50);
    opacity: 0.5;
    position: relative;
    width: 100%;
    /*height: 1000px;*/
    z-index: 10;
}

.thumb-hover div
{
    position: absolute;
    clear: both;
    width: 100%;
    z-index: 10;
}

.thumb-hover div.tools
{
    margin-top: 2px;
    text-align: right;
}

.thumb-hover div.title
{
    margin-top: 40px;
    text-align: center;
    font-weight: bold;
	background-color: white;
	color: black;
	font-size: 16px;
}

.thumb-hover div.tools a
{
    float: right;
    color: red;
    font-weight: bold;
    text-decoration: none;    
}

/*
 * Mockup editing area
 */

#canvas-wrapper
{
    position: relative;
    float: left;
    padding-top: 6px;
    padding-left: 10px;
}

#canvas
{
    position: relative;
    width: 400px;
    height: 400px;
}

.rect
{
    border: 2px solid gray;
    position: absolute;
    display: block;
    background-color: #DDDDDD;
    cursor: default;
	filter:alpha(opacity=60);
	opacity:0.6;
}

.rect.selected
{
    border: 3px dashed black;
}

.rect div a
{
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.canvas
{
	margin-top: -1px;
    border: 2px solid gray;
    cursor: default;
}

/*
 Properties column and all form elements
*/

#properties-wrapper
{
    position: relative;
    float: left;
    padding-top: 6px;
    padding-left: 17px;
	width: 500px;
}

#properties-form
{
	/* set font here */
}

input, textarea, select, button
{
	border: 1px solid gray;
	margin-right: 2px; 
}

#properties-form input[type="text"], #properties-form select
{
	width: 220px;
	height: 19px;
}

#properties-form textarea
{
	width: 291px;
	height: 50px;
}

#properties-form input[readonly="readonly"], #properties-form textarea[readonly="readonly"]
{
	background-color: #EEEEFF;
	color: #777777;
}

#properties-form table
{
	border: 2px solid #666666;
	border-collapse: collapse;
}

#properties-form table thead th
{
	text-align: left;
	border: 0;
	padding: 3px;
	background-color: #EEEEEE;
}

#properties-form table tbody td
{
	border: 1px solid #999999;
	padding: 2px;
}

#properties-form table tbody td.label
{
	padding-right: 4px;
	min-width: 120px;
}

#properties-form table tbody td label
{
	font-weight: bold;
}

#properties-form table tbody td span
{
	font-size: 90%;
	padding-left: 3px;
}

/*
 * Captify options
 */
.caption {
	color: #ffffff;
	
	padding: 0.6em;
	font-weight: bold;
	font-size: 11px;
	font-family: arial;
	display: none;
	cursor: default;
	
	/* remove these 4 lines below if you want 
	the caption to span the whole width of the 
	image*/
	width: 36%;
	text-align: center;
	border-top: 1px solid #303030;
	border-right: 1px solid #303030;
	
	/* background / transparency */
	background: #000000;
	opacity: 0.7;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
}

.caption a {
	border: 0 none;
	text-decoration: none;
	background: #000000;
	padding: 0.3em;
}

.caption a:hover {
	background: #202020;
}

.caption-wrapper {
	float: left;
}

br.c { clear: both; }

/* 
 * Dialog skin
 */

.ui-dialog-overlay
{
	background-color: #303030;
	opacity: 0.4;	
}

.dialog .ui-dialog,
.dialog.ui-dialog {
	background-color: #F2F2F2;
}

.dialog .ui-dialog .ui-dialog-titlebar,
.dialog.ui-dialog .ui-dialog-titlebar {
	border-bottom: 1px solid #ff7300;
	background: #ebb450; /*#e6e6fa;*/
	padding: 0px;
	height: 28px;
	_height: 29px;
}

.dialog .ui-draggable .ui-dialog-titlebar,
.dialog.ui-draggable .ui-dialog-titlebar {
	cursor: move;
}

.dialog .ui-draggable-disabled .ui-dialog-titlebar,
.dialog.ui-draggable-disabled .ui-dialog-titlebar {
	cursor: default;
}

.dialog .ui-dialog .ui-dialog-titlebar-close,
.dialog.ui-dialog .ui-dialog-titlebar-close {
	width: 16px;
	height: 16px;
	background: url(../img/dialog-titlebar-close.png) no-repeat;
	position:absolute;
	top: 8px;
	right: 7px;
	cursor: default;
}

.dialog .ui-dialog .ui-dialog-titlebar-close span,
.dialog.ui-dialog .ui-dialog-titlebar-close span {
	display: none;
}

.dialog .ui-dialog .ui-dialog-titlebar-close-hover,
.dialog.ui-dialog .ui-dialog-titlebar-close-hover {
	background: url(../img/dialog-titlebar-close-hover.png) no-repeat;
}

.dialog .ui-dialog .ui-dialog-title,
.dialog.ui-dialog .ui-dialog-title {
	margin-left: 5px;
	color: white;
	font-weight: bold;
	position: relative;
	top: 7px;
	left: 4px;
}

.dialog .ui-dialog .ui-dialog-content,
.dialog.ui-dialog .ui-dialog-content {
	margin: 1.2em;
}

.dialog .ui-dialog .ui-dialog-buttonpane,
.dialog.ui-dialog .ui-dialog-buttonpane {
	position: absolute;
	bottom: 8px;
	right: 0;
	width: 100%;
	text-align: right;
}

.dialog .ui-dialog .ui-dialog-buttonpane button,
.dialog.ui-dialog .ui-dialog-buttonpane button {
	margin: 6px;
}

/* Dialog handle styles */
.dialog .ui-dialog .ui-resizable-n,
.dialog.ui-dialog .ui-resizable-n { cursor: n-resize; height: 6px; width: 100%; top: 0px; left: 0px; background: transparent url(../img/dialog-n.gif) repeat scroll center top; }

.dialog .ui-dialog .ui-resizable-s,
.dialog.ui-dialog .ui-resizable-s { cursor: s-resize; height: 8px; width: 100%; bottom: 0px; left: 0px; background: transparent url(../img/dialog-s.gif) repeat scroll center top; }

.dialog .ui-dialog .ui-resizable-e,
.dialog.ui-dialog .ui-resizable-e { cursor: e-resize; width: 7px; right: 0px; top: 0px; height: 100%; background: transparent url(../img/dialog-e.gif) repeat scroll right center; }

.dialog .ui-dialog .ui-resizable-w,
.dialog.ui-dialog .ui-resizable-w { cursor: w-resize; width: 7px; left: 0px; top: 0px; height: 100%; background: transparent url(../img/dialog-w.gif) repeat scroll right center; }

.dialog .ui-dialog .ui-resizable-se,
.dialog.ui-dialog .ui-resizable-se { cursor: se-resize; width: 9px; height: 9px; right: 0px; bottom: 0px; background: transparent url(../img/dialog-se.gif); }

.dialog .ui-dialog .ui-resizable-sw,
.dialog.ui-dialog .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: transparent url(../img/dialog-sw.gif); }

.dialog .ui-dialog .ui-resizable-nw,
.dialog.ui-dialog .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 29px; left: 0px; top: 0px; background: transparent url(../img/dialog-nw.gif); }

.dialog .ui-dialog .ui-resizable-ne,
.dialog.ui-dialog .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 29px; right: 0px; top: 0px; background: transparent url(../img/dialog-ne.gif); }

/* Filechooser dialog options */
.filechooser
{
	overflow: auto;
	margin-bottom: 140px;
}

.filechooser ul
{
	margin-left: 5px;
}

.filechooser ul li
{
	margin-left: 2px;
	padding-left: 1px;
}

.filechooser a.selected
{
	border: 1px dotted gray;
	background-color: blue;
	color: white;
	font-weight: bolder;
}
